roman to integer leetcode solution